-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test/4976 signer set handoff #5037
Conversation
Signed-off-by: Jacinta Ferrant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all seems to make sense to me. Just some minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR implements an integration test for handling signer set handoffs.
In this test, we boot up a signer test as usual with 5 signers. I've made modifications to only stack for one cycle in this test. 4 other signers are also spun up, but they aren't stacked yet. During the first Nakamoto cycle, the new signers are stacked. This integration test ensures that everything behaves smoothly when the new signer set is completely different than a previous one.
NB: I'm opening this in draft state, because I'm hitting some issues that I believe are bugs in the miner's reward set loading behavior. I'll leave comments on the relevant code.